﻿using Furion;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;

namespace Jiffy.Middle.Ids4
{
    public class Startup : AppStartup
    {        
        public void ConfigureServices(IServiceCollection services)
        {
            // 添加Ids4服务 添加开发人员签名凭据 添加内存apiresource 把配置文件的Client配置资源放到内存
            services.AddIdentityServer().AddDeveloperSigningCredential().AddInMemoryIdentityResources();
        }
        
        public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
        {

        }
    }
}